#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n;
    cin>>n;
    for (int i=0;i<n;i++){
        cin>>a[i];
    }
    sort(a,a+n);
    //for (int i=0;i<n;i++){
        //cout<<a[i]<<endl;
    //}
    int mxsme=-1;
    int nowsme=1;
    for (int i=1;i<n;i++){

        if (a[i]==a[i-1]){
            nowsme++;
        }
        else{
            nowsme=1;
        }
        if (nowsme>=mxsme){
            mxsme=nowsme;
        }
    }
    cout<<mxsme<<endl;
    return 0;
}
